home *** CD-ROM | disk | FTP | other *** search
- ; QuickDOS© installer script
- ; $VER: quickdos.library 1.01 (25.06.94)
- ; Written by Alexis WILKE (c) 1994
- ; This script uses the program Installer V1.24 (1.9.94) of CBM
- ; Uses Tab-Stop 2
-
-
- (set *exit
- (cat
- "No further installation will occur.\n"
- "\n"
- "QuickDOS© is a CopyRight of\n"
- "Alexis WILKE (c) 1994\n"
- "\n"
- "Thank you for selecting QuickDOS©.\n"
- "\n"
- "Great to see you again."
- )
- )
-
-
- (set *path (pathonly @icon))
-
-
- (set *newver
- (getversion "QuickDOS.library")
- )
-
-
- (set *newverstring
- ("V%ld.%02ld"
- (shiftright *newver 16)
- (bitand *newver $0FFFF)
- )
- )
-
- (set *version
- (getversion "exec.library" (resident))
- )
-
-
-
- (message
- (cat
- "Welcome to the world of QuickDOS© library\n"
- "\n"
- "QuickDOS© is a CopyRight of\n"
- "Alexis WILKE (c) 1994\n"
- "\n"
- "\n"
- "QuickDOS© " *newverstring " is compatible\n"
- "with\n"
- "AmigaDOS\n"
- "\n"
- "\n"
- "\n"
- ("(System version %ld.%02ld)"
- (shiftright *version 16)
- (bitand *version $0FFFF)
- )
- ; (if @pretend
- ; "\nThis script does not work in pretend mode"
- ; )
- )
- )
-
- ;(if @pretend
- ; (exit *exit)
- ;)
-
-
- (copyfiles
- (prompt
- "The next copy will add QuickDOS\n"
- "to the list of your libraries in 'LIBS:'\n"
- )
- (help
- "Why should I copy 'quickdos.library' ?\n"
- "\n"
- " Without this library, there is no purpose in "
- "continuing this installation. The library is "
- "one single file named 'quickdos.library', and "
- "it is copied into your 'LIBS:' assign.\n"
- "\n"
- "-----------------------------------------------------\n"
- "\n"
- @copyfiles-help
- )
- (source *path)
- (dest "LIBS:")
- (choices "quickdos.library")
- (infos)
- (confirm)
- (optional "askuser")
- )
-
-
- (if (not (= @user-level 0)) ;No devlopment files copied.
- (copyfiles
- (prompt
- "Select Devlopment Files to Copy"
- )
- (help
- "Why should I copy the devlopment files ?\n"
- "\n"
- " If you are not a programmer there is no "
- "need for you to copy any of those files. "
- "Otherwise you are welcome to copy all of "
- "them to be able to use the library "
- "correctly.\n"
- "\n"
- " . 'quickdos.doc' and 'quickdos.guide'\n"
- "\n"
- " A quick documentation reference of each "
- "function available in the library.\n"
- " You may select only one of those two "
- "files. 'quickdos.guide' can be read "
- "with AmigaGuide from your Workbench.\n"
- "\n"
- " . 'quickdos.i' and 'quickdos.h'\n"
- "\n"
- " Those are files with a list of the "
- "user structures and variables. Note that "
- "all structures are bigger in memory, but "
- "the following data are private and will "
- "change through different versions.\n"
- " If you program in assembler you will "
- "need the '.i' file and if you program "
- "in C select the '.h' file.\n"
- "\n"
- " . 'quickdos.lib'\n"
- "\n"
- " If your C does not support register calls "
- "you will have to use the 'quickdos.lib' "
- "object file to unstack parameters.\n"
- " Note: this file was generated with lk© "
- "linker. lk© is a copyright of Alexis WILKE "
- "(c) 1993-1994.\n"
- "\n"
- " . 'quickdos.fd'\n"
- "\n"
- " This files contains the function descriptions. "
- "It is not necessary to have it because the "
- "necessary declarations are available into the "
- "header files.\n"
- "\n"
- "-----------------------------------------------------\n"
- "\n"
- @copyfiles-help
- )
- (source *path)
- (dest @default-dest)
- (pattern "quickdos.~(library|#?info)")
- (confirm "average")
- (infos)
- )
- )
-
-
- (exit *exit)
-